package com.seari.custody.mapper;

import com.seari.custody.bean.Role;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Repository
public interface RoleMapper {

    // 查询角色
    public List<Role> getAllById(Role id);

    //新增角色
    public Integer getAddRole(Role add);

    //编辑角色
    public int getUpdateRole(Map<String, Object> params);

    //删除角色
    Integer deleteRole(String id);
}
